import { RouteRecordRaw } from 'vue-router'
import { RouterTransition } from '@/components/transition'


const routes: Array<RouteRecordRaw> = [
  /**
 * 不需要授权就可以访问的页面
 */
  {
    path: '/login',
    name: 'login',
    component: () => import(/* webpackChunkName: "login" */ '@/views/shared/login/index.vue'),
    meta: {
      title: '登录页'
    }
  },
  // 不需要左侧菜单的页面
  {
    path: '/screen',
    name: 'screen',
    component: () => import(/* webpackChunkName: "login" */ '@/views/shared/screen/screen.vue'),
    meta: {
      title: '评课详情'
    }
  },
  {
    path: '/role',
    name: 'role',
    component: () => import(/* webpackChunkName: "role" */ '@/views/system/menu/menu.vue')
  },
  {
    path: "/sysdetail",
    name: 'sysdetail',
    component: () => import(/* webpackChunkName: "system-detail" */ '@/views/system/menu/menu-detail.vue'),
    meta: {
      title: '菜单设置'
    }
  },
  {
    path: '/mapdetail',
    name: 'mapdetail',
    component: () => import(/* webpackChunkName: "map-detail" */ '@/views/dashboard/map-detail.vue'),
    meta: {
      title: '地图选课'
    }
  }
]

export default routes
